package com.moto.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.moto.repository.PostsFriendApplyRepository;
import com.moto.service.PostsFriendApplyService;

@Service("postsFriendApplyService")
public class PostsFriendApplyServiceImpl implements PostsFriendApplyService {

	@Autowired
	private PostsFriendApplyRepository postsFriendApplyRepository;

	@Override
	public int deleteByPostsId(String postsId) {
		return postsFriendApplyRepository.deleteByPostsId(postsId);
	}
}
